package com.demo.thread.semaphore.test1;

/**
 * @author : YU.TAN
 * @date : 2021/11/9 18:10
 */
public class ThreadA implements Runnable{

    private Service service;

    public ThreadA(Service service){
        this.service=service;
    }

    @Override
    public void run() {
        service.testMethod();
    }
}
